package com.tensquare.qa.client;

import com.tensquare.tensquare_common.entity.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * @author zhc
 * @create 2019-04-17  21:35
 */
@FeignClient("tensquare-base")
public interface BaseClient {
    @RequestMapping(value = "/label/{labelId}",method = RequestMethod.GET)
    public Result fingById(@PathVariable("labelId") String labelId);
}
